import com.tc.property.PropertyHolder;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:applicationContext.xml"})
@Slf4j
public class testProperty {

    @Test
    public void demo(){
        String property = PropertyHolder.getProperties().getProperty("jdbc.workflow.password");
        log.info(property);
        String zkp = PropertyHolder.getProperties().getProperty("zkp");
        log.info("-------------------:"+zkp);
    }

}
